package chen.yi.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import javax.management.loading.MLetContent;

/**
 * 统一响应枚举值
 * @author huat
 **/
@Getter
@AllArgsConstructor
public enum RespEnum {
    SUCCESS(200,"执行成功"),
    ERROR(500,"系统异常"),
    ERROR_PARAMS(501,"参数校验异常"),
    ;
    private final int code;
    private final String message;
}
